﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace elibrary.Classes.Attributes
{
    [AttributeUsage(AttributeTargets.Method)]
    public class EBAuth : System.Attribute
    {
        private bool mustAuthenticate;

        public string role { get; set; }

        public EBAuth(bool mustAuthenticate = false)
        {
            this.mustAuthenticate = mustAuthenticate;
        }
    }
}